* {
    margin: 0px;
    padding: 0px;
    border: 0px;
}

/*html, body {*/
    /*min-height: 100%;*/
/*}*/

/*body {*/
    /*background: radial-gradient(#eeeeee, #444444);*/
/*}*/

#loading {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: auto;
    /*width: 100%;*/
    width: 175px;
    /*height: 100%;*/
    height: 100px;

    visibility: hidden;
    animation: fadeout 2.5s;
    background: #cccccc;
    opacity: 0.9;
}

#loading.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s;
}


#loading span {
    display: block;
    background: #ccc;
    font-size: 18px;
    color: #ffffff;
    text-align: center;
    width: 7px;
    height: 10%;
    border-radius: 14px;
    margin-right: 5px;
    float: left;
    text-shadow: 2px 2px #333, 4px 4px #000;
}
#loading span:last-child {
    margin-right: 0px;
}
#loading span:nth-child(1) {
    animation: load 2.5s 1.4s infinite linear;
}
#loading span:nth-child(2) {
    animation: load 2.5s 1.2s infinite linear;
}
#loading span:nth-child(3) {
    animation: load 2.5s 1s infinite linear;
}
#loading span:nth-child(4) {
    animation: load 2.5s 0.8s infinite linear;
}
#loading span:nth-child(5) {
    animation: load 2.5s 0.6s infinite linear;
}
#loading span:nth-child(6) {
    animation: load 2.5s 0.4s infinite linear;
}
#loading span:nth-child(7) {
    animation: load 2.5s 0.2s infinite linear;
}
#loading span:nth-child(8) {
    animation: load 2.5s 0s infinite linear;
}
#loading span:nth-child(9) {
    animation: load 2.5s 0.2s infinite linear;
}
#loading span:nth-child(10) {
    animation: load 2.5s 0.4s infinite linear;
}
#loading span:nth-child(11) {
    animation: load 2.5s 0.6s infinite linear;
}
#loading span:nth-child(12) {
    animation: load 2.5s 0.8s infinite linear;
}
#loading span:nth-child(13) {
    animation: load 2.5s 1s infinite linear;
}
#loading span:nth-child(14) {
    animation: load 2.5s 1.2s infinite linear;
}
#loading span:nth-child(15) {
    animation: load 2.5s 1.4s infinite linear;
}

@keyframes load {
    0% {
        background: #ccc;
        margin-top: 25%;
        height: 10%;
    }

    50% {
        background: #444;
        height: 100%;
        margin-top: 0;
    }

    100% {
        background: #ccc;
        height: 10%;
        margin-top: 25%;
    }
}
@keyframes fadeout {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}